/*
 * Copyright rgil2010
 * All rights reserved
 */

package com.test.gui.swing.components.panel;

import javax.swing.GroupLayout;
import javax.swing.JLabel;

/**
 *
 * @author user
 */
public class PnlIdtHmn extends PnlIdtAbs{
    public PnlIdtHmn()
    {
        super();
        
    }


    @Override
    protected void initComponents(){

        this.lblAdresse = new JLabel();


        lblAdresse.setText("Adresse");
        this.pnlName = new PnlIdtHmnName();
        this.pnlDate = new PnlIdtHmnSexDat();


        javax.swing.GroupLayout layout = new GroupLayout(this);
        this.setLayout(layout);


        layout.setHorizontalGroup(
            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                    .addComponent(pnlName)
                    .addComponent(pnlDate))
             )
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(pnlName)
                .addGap(20,20,20)
                .addComponent(pnlDate)
            )
        );
    }



    String getIdentiteNom(){
        return pnlName.getNameNom();
    }

    String getIdentitePrenom1(){
         return pnlName.getNamePrenom1();
    }

    String getIdentitePrenom2(){
         return pnlName.getNamePrenom2();
    }

    String getIdentitePrenom3(){
         return pnlName.getNamePrenom3();
    }

    String getIdentiteDateNaissance() {
         return pnlDate.getDateNaissance();
    }
    String getIdentiteSexe() {
         return pnlDate.getSexe();
    }
    private PnlIdtHmnName pnlName;
    private PnlIdtHmnSexDat pnlDate;
    private JLabel lblAdresse;


}
